package com.scs.application.modules.adm.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.scs.application.core.mapper.IBaseMapper;
import com.scs.application.modules.adm.entity.MatrApplyItem;
import com.scs.application.modules.base.entity.Matr;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 耗材准入申请单明细 Mapper 接口
 * </p>
 */
public interface MatrApplyItemMapper extends IBaseMapper<MatrApplyItem> {
    /**
     * 耗材准入申请单明细视图-审批添加时使用
     * @param page
     * @param wrapper
     * @param params 真实参数
     * @return
     */
    Page<?> pageForAuditAdd(IPage page, @Param(Constants.WRAPPER) QueryWrapper<Matr> wrapper, @Param("params") Map<String,Object> params, @Param("userParam") Map<String,Object> userParam);
}
